export interface IPerson {
    id: string,
    name: string,
    age: number
}
export interface INews {
  id:string,
  title:string,
  content:string
}

//一个自定义类型
// export type Persons = Array<IPerson>

export type Persons = IPerson[]  //简洁写法
